import requests from "./requests";

// <============ 三方开放接口 http://t.weather.itboy.net ===========>
// 城市天气查询
export const weather = (code = '101030100') => requests({
  url: `/weather/city/${code}`, method: 'GET'
})

// <============ 后端接口 http://gmall-h5-api.atguigu.cn ===========>
// 首页商品三级分类
export const getBaseCategoryList = () =>
  requests({url: '/product/getBaseCategoryList', method: "GET"})

